package com.sc.es.service;

import com.qiniu.common.QiniuException;
import com.qiniu.http.Response;

import java.io.File;
import java.io.InputStream;

/**
 * @author sc
 * Created on  2018/2/7
 */
public interface IQiNiuService {
    Response uploadFile(File file) throws QiniuException;
    Response uploadFile(InputStream inputStream) throws QiniuException;
    Response deleteFile(String  key) throws QiniuException;
}
